<h3>Просмотр фотографий</h3>
<hr />

<?php
 $this->widget('application.extensions.fancybox.EFancyBox', array(
                                    	// 'selector'=>'a[href$=\'/images/small.jpg\'], a[href$=\'/images/small2.jpg\']',
                                           'target'=>'a[rel=myphotogroup]',
                                             'config'=>array(),
    )
);
 
?>

<?php foreach($images as $item): ?>

    <?php if($item->hide == 'show'):  ?>
   
    <a class="grouped_elements" rel="myphotogroup" href="<?php echo Yii::app()->baseUrl.'/data/files/photogallery/album1/'.$item->big; ?>"><img src="<?php echo Yii::app()->baseUrl.'/data/files/photogallery/album1/thumb/'.$item->small; ?>"  alt=""/></a>
    
    <?php endif;  ?>


<?php endforeach; ?>
